package com.zh.repo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class RepoApplication  {

    //打包时需要添加  extends SpringBootServletInitializer
  /*  @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(RepoApplication.class);
        //return super.configure(builder);
    }*/

    public static void main(String[] args) {
        SpringApplication.run(RepoApplication.class, args);
    }

}
